package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_employee")
public class Employee extends BaseDomain {

    //用户名
    private String username;
    //邮箱
    private String email;
    //手机号码
    private String phone;
    //密码
    private String password;
    //年龄
    private Integer age;
    //状态
    private Integer state;

    private Long departmentId;

    private Long logininfoId;

    private Long shopId;

    private Long parentId;

    private Long managerId;
}
